﻿using Mysoft.Entity.Basic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Mysoft.Entity
{
    [Table("Sys_ErrorLog")]
    public class Sys_ErrorLog: EntityBase
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public Guid Id { get; set; }

        /// <summary>
        /// 操作人ID
        /// </summary>
        public Guid OperatorId { get; set; }
        /// <summary>
        /// 操作人名称
        /// </summary>
        public string Operator { get; set; }
        /// <summary>
        /// 操作人IP
        /// </summary>
        public string OperatorIP { get; set; }
        /// <summary>
        /// 异常时间
        /// </summary>
        public DateTime Date { get; set; }
       
        /// <summary>
        /// 日志信息
        /// </summary>
        public string Message { get; set; } 
        /// <summary>
        /// 堆栈信息
        /// </summary>

        public string StackTrace { get; set; }
    }
}
                           